import axios from './axios';
const appHelper = {
  utils: {
    post: (url:string,data:object,params:any) => {
      return axios.post(url,data,params)
    },
    get: (url:string,params:any) => {
      return axios.get(url, {params: params})
    }
  },
  constants: {
    ConstantA: 'ConstantA',
    ConstantB: 'ConstantB'
  },
  axios:axios
};
export default appHelper;
